package com.linxiao.hrcrm.vo;

import com.linxiao.hrcrm.domain.CrmCustomer;
import com.linxiao.hrcrm.domain.CrmCustomerRelationship;

import java.util.List;

/**
 * 客户及客户关系实体
 * @author zhoudong
 */
public class CustomerVO {
    /** 客户信息 */
    private CrmCustomer customer;

    /** 销售列表 */
    private List<CrmCustomerRelationship> relationships;

    /** 当前销售 */
    private CrmCustomerRelationship defaultRelationship;

    public CrmCustomer getCustomer() {
        return customer;
    }

    public void setCustomer(CrmCustomer customer) {
        this.customer = customer;
    }

    public List<CrmCustomerRelationship> getRelationships() {
        return relationships;
    }

    public void setRelationships(List<CrmCustomerRelationship> relationships) {
        this.relationships = relationships;
    }

    public CrmCustomerRelationship getDefaultRelationship() {
        return defaultRelationship;
    }

    public void setDefaultRelationship(CrmCustomerRelationship defaultRelationship) {
        this.defaultRelationship = defaultRelationship;
    }
}
